package com.sunspring.zdcall.service;

import com.sunspring.zdcall.entity.ZdBaseHospital;
import com.sunspring.zdcall.param.HospitalParam;

import java.io.IOException;

/**
 * @author wulei
 * @date 2019-01-14
 **/
public interface HospitalService {

    /**
     * 查看医院信息
     * @return ZdBaseHospital
     */
    ZdBaseHospital getHospitalInfo();

    /**
     * 添加医院信息
     * @param hospital HospitalParam
     */
    void addHospital(HospitalParam hospital) throws IOException;

    /**
     * 修改医院信息
     * @param hospital HospitalParam
     */
    void updateHospital(HospitalParam hospital) throws IOException;
}
